
// <copyright file="DummyCommand.cs" company="Subhadra Software Solutions">
//   
// </copyright>
// <summary>
//   The dummy command.
// </summary>

namespace SubhadraSolutions.Sharp.Utils.Data.SqlServer
{
    using System.Data;
    using System.Data.SqlClient;

    using SubhadraSolutions.Sharp.Utils.Data.Common;

    /// <summary>
    /// The dummy command.
    /// </summary>
    public class DummyCommand : AbstractDummyCommand
    {
        #region Constructors and Finalizers

        /// <summary>
        /// Initializes a new instance of the <see cref="DummyCommand"/> class.
        /// </summary>
        public DummyCommand()
        {
            var comm = new SqlCommand();
            this.Parameters = comm.Parameters;
        }

        #endregion Constructors and Finalizers

        #region Public Methods and Operators

        /// <summary>
        /// The create parameter.
        /// </summary>
        /// <returns>
        /// The <see cref="IDbDataParameter"/>.
        /// </returns>
        public override IDbDataParameter CreateParameter()
        {
            return new SqlParameter();
        }

        #endregion Public Methods and Operators
    }
}